package StudyCode.summary.Basic.mystring;

/**
 * 版权所有 科技与人文(www.tah1986.com)
 */
public class StringTrim {
	public static void main(String[] args){
		String myString = " Hello，我是首尾两行有空格的字符串.   ";
		System.out.println("去掉空格前:");
		System.out.println(myString);
		System.out.println("去掉空格后:");
		System.out.println(myString.trim());
	}
}
